﻿# CMakeList.txt: ffmpeg_player_cmake 的 CMake 项目，在此处包括源代码并定义
# 项目特定的逻辑。
#
cmake_minimum_required (VERSION 3.8)
add_definitions("-std=c++11")

include_directories("win32/include")
#include_directories("include")
#include_directories("include/ffmpeg")

link_directories("win32/lib")
#link_directories("lib/ffmpeg")
#link_directories("lib/sdl/x64")


# 将源代码添加到此项目的可执行文件。
add_executable (ffmpeg_player_cmake "ffmpeg_player_cmake.cpp" "ffmpeg_player_cmake.h" Decoder.cpp Decoder4CPU.cpp Decoder4GPU.cpp)
target_link_libraries(ffmpeg_player_cmake SDL2  avformat avcodec avutil swscale)
# TODO: 如有需要，请添加测试并安装目标。
